from selenium import webdriver
from selenium.webdriver.common.by import By
from time import sleep

driver = webdriver.Firefox()
driver.maximize_window()
url = 'https://www.daomubiji.com/'
driver.get(url)

sleep(3)
# 设置滚动距离
# 通过一段JS脚本设置滚动条位置
js_script = 'window.scrollTo(0,10000)'
# 执行JS脚本
driver.execute_script(js_script)

sleep(3)
driver.quit()